{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/head",KUO,THIS) }}
<div class="kuotoplist">

  {{#
    let $WWH = {'subclass IN':await THIS.TYPE_BAOHAN(THIS.$features.configure['分类id'][0]?THIS.$features.configure['分类id'][0]:0),'atime >': strtotime(Mode("Tools").Date("Y-m-d")),'off':2}; 
    let $MEYE = 18;
    let $游戏数据 = await  THIS.CENTER_select($WWH,"sortsize desc,id desc",($MEYE)  );
    if(!$游戏数据){
      $WWH = {'subclass IN':await THIS.TYPE_BAOHAN(THIS.$features.configure['分类id'][0]?THIS.$features.configure['分类id'][0]:0),'off':2}; 
      $游戏数据 = await  THIS.CENTER_select($WWH,"sortsize desc,id desc",($MEYE)  );

    }

    let $TOTAL =  18;
  }}

  <div class="layui-container">
    <div class="kuolistnav">
      <p class="youbian layui-left" style="font-size:18px;">{{KUO.$DATA['remarks']}} </p>
      <p class="layui-right youbian">共<span class="tishi">{{ $TOTAL }}</span> 条筛选结果</p>
    </div>
    <div class="layui-row layui-col-space10 tyoelist2">

      {{#
          
        if( $游戏数据 ){
            for(let $ii in $游戏数据 ){
                let $eli = $游戏数据 [$ii ];
                let $eliurl = KuoLink([ KUO.CLASS, $eli['url'] ]);
                
        }}


      <div class="layui-col-md4 layui-col-xs12 toplist">
       
        <div class="layui-row toplistone">
          <div class="layui-col-md4 layui-col-xs4">
            <a href="{{$eliurl}}"><img src="{{CDNHOST}}Tpl/cms/manhua/image/loadimg.png" lay-src="{{pichttp($eli.photo)}}"  class="img"></img></a>
          </div>
          <div class="layui-col-md7 layui-col-xs7 yidongx">
            <h2><a href="{{$eliurl}}">{{$eli.name}}</a></h2>
            <p class="p desc"> {{$eli.describes}} </p>
            <p class="cjyihang p">更至：<span class="span">{{$eli.char1}}</span></p>
             <p class="cjyihang p">周点击：{{$eli.popularity}}</p>
<p class="cjyihang p"><a class="lijyueud" href="{{$eliurl}}">立即阅读</a></p>
          </div>

        </div>
        
      </div> 
    
      {{#
      }   }else{  }}
          <div class="Nodata">
              没有相关数据
          </div>
      {{# } }}

      

      <div class="layui-clear"></div>

      {{#

          if($TOTAL > $MEYE){
      }}  <div class="center">
                  <div class="pageddd">{{ Mode("Tools").Fenye( $MEYE , $TOTAL  , 5 , KUO.PAGE ,KuoLink([ KUO.CLASS, KUO.$DATA['url'] ],2) , WebExt ) }} 
                  <div  style="clear:both;"></div>
                  </div>
              </div>
      {{# } }}
        <div style="height:20px;"></div>
    </div> 
    <div class="layui-clear"></div>
    
  </div>


</div>
{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/foot",KUO,THIS) }}
<script>
var height = 0;
$(function(){
  layui.flow.lazyimg(); 
});
</script>